<?php

use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
use Carbon\Carbon;
class StaffTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        //
	    $data=[
	    	[
	    		'name'=>'张三',
			    'type'=>1,
			    'contract_number'=>'123456789',
			    'phone'=>'18721942393',
			    'address'=>'上海市嘉定区沙河路1555号',
			    'department'=>1,
			    'station'=>1,
			    'card'=>'012345678987456321',
			    'opening_bank'=>'上海浦东支行',
			    'status'=>1,
			    'job'=>1,
			    'task_status'=>1,
			    'company_id'=>1,
			    'created_at' => Carbon::now(),
			    'updated_at' => Carbon::now()
		    ]


	    ];


	    DB::table('staff')->insert($data);

    }
}
